package com.zhongxi.guoyuan.entity.user;

import com.zhongxi.guoyuan.entity.BaseResult;
import com.zhongxi.guoyuan.entity.user.center.UserRight;

import java.util.List;

/**
 * Created by Administrator on 2016/12/20.
 */

public class TodayEarningResult {

    private int code;
    private BaseResult safeobj;
    private UserInfoCoinRecordDetailResult userInfo;
    private List<RecodeCoinRecordDetailResult> recode;
    private String totalgains;
    private String lastgains;
    private String myshares;
    private String myredbean;
    private String partnershares;

    public String getPartnershares() {
        return partnershares;
    }

    public void setPartnershares(String partnershares) {
        this.partnershares = partnershares;
    }

    //    以下是接口里没有的
    private String sharesgains;
    private List<UserRight> rights;

    public String getMyshares() {
        return myshares;
    }

    public void setMyshares(String myshares) {
        this.myshares = myshares;
    }

    public String getMyredbean() {
        return myredbean;
    }

    public void setMyredbean(String myredbean) {
        this.myredbean = myredbean;
    }

    public String getTotalgains() {
        return totalgains;
    }

    public void setTotalgains(String totalgains) {
        this.totalgains = totalgains;
    }

    public String getLastgains() {
        return lastgains;
    }

    public void setLastgains(String lastgains) {
        this.lastgains = lastgains;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public UserInfoCoinRecordDetailResult getUserInfo() {
        return userInfo;
    }

    public void setUserInfo(UserInfoCoinRecordDetailResult userInfo) {
        this.userInfo = userInfo;
    }

    public List<RecodeCoinRecordDetailResult> getRecode() {
        return recode;
    }

    public void setRecode(List<RecodeCoinRecordDetailResult> recode) {
        this.recode = recode;
    }

    public String getSharesgains() {
        return sharesgains;
    }

    public void setSharesgains(String sharesgains) {
        this.sharesgains = sharesgains;
    }

    public BaseResult getSafeobj() {
        return safeobj;
    }

    public void setSafeobj(BaseResult safeobj) {
        this.safeobj = safeobj;
    }

    public List<UserRight> getRights() {
        return rights;
    }

    public void setRights(List<UserRight> rights) {
        this.rights = rights;
    }

    public static class UserInfoCoinRecordDetailResult {


        private String id;
        private String username;
        private Object avatar;
        private String mphone;
        private String isshareholders;
        private String isbeneficiary;
        private String appopenid;
        private String ismerchants;
        private String mpopenid;

        public String getIsbeneficiary() {
            return isbeneficiary;
        }

        public void setIsbeneficiary(String isbeneficiary) {
            this.isbeneficiary = isbeneficiary;
        }

        public String getAppopenid() {
            return appopenid;
        }

        public void setAppopenid(String appopenid) {
            this.appopenid = appopenid;
        }

        public String getIsmerchants() {
            return ismerchants;
        }

        public void setIsmerchants(String ismerchants) {
            this.ismerchants = ismerchants;
        }

        public String getMpopenid() {
            return mpopenid;
        }

        public void setMpopenid(String mpopenid) {
            this.mpopenid = mpopenid;
        }

        public String getIspartner() {
            return isbeneficiary;
        }

        public void setIspartner(String ispartner) {
            this.isbeneficiary = ispartner;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getUsername() {
            return username;
        }

        public void setUsername(String username) {
            this.username = username;
        }



        public String getMphone() {
            return mphone;
        }

        public void setMphone(String mphone) {
            this.mphone = mphone;
        }

        public Object getAvatar() {
            return avatar;
        }

        public void setAvatar(Object avatar) {
            this.avatar = avatar;
        }


        public String getIsshareholders() {
            return isshareholders;
        }

        public void setIsshareholders(String isshareholders) {
            this.isshareholders = isshareholders;
        }
    }

    public static class RecodeCoinRecordDetailResult {

        private String id;
        private int sharesnum;
        private String sharesgains;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public int getSharesnum() {
            return sharesnum;
        }

        public void setSharesnum(int sharesnum) {
            this.sharesnum = sharesnum;
        }

        public String getSharesgains() {
            return sharesgains;
        }

        public void setSharesgains(String sharesgains) {
            this.sharesgains = sharesgains;
        }
    }

}
